<include file="public/header" />
<link rel="stylesheet" href="__ADMIN__/css/global.css">
<style>
	.site-table tbody tr td img {
		max-height: 80px;
   		max-width: 100px;
	}
	.layui-wd {
		width: 400px !important;
	}
	.tar{
		    text-align: right !important;
	}
</style>
</head>
<body style="background: #eeeeee;">
	<div  style="margin:20px;" class="user-main" >
		<!-- tab开始 -->
		<div class="layui-tab layui-tab-brief"  lay-filter="docDemoTabBrief" >
		  	<ul class="layui-tab-title ml30">
				<li class="layui-this"  lay-id="11">系统设置</li>
		  	</ul>
		   	<div class="layui-tab-content">
		   	<!-- 第一栏目 -->
				<div class="layui-tab-item  layui-show "  style="min-height:500px">
					<form  class="layui-form mt20 J_ajaxForm"   action="{:url('System/system')}"  method="post">
						<div class="layui-field-box">
							<table class="site-table table-hover">
								<tbody>
									<tr>
											<td colspan="4" style="font-size:17px;background:#e4f2ff;"><b>运营相关配置</b></td>
									</tr>
								<!-- 	<tr>
											<td class="tar"><span class="red">*</span>用户下单消费获得积分：</td>
											<td>
													<input type="text" value="{$msg.user_spending_get_integral}" name="user_spending_get_integral"  lay-verify="integer"  placeholder="用户消费X元获得1积分" class="layui-input layui-wd0 fl"  />
													<div class="red mt10 ml5 fl"><span>元/1积分</span></div>
					                    	</td>
					                    	<td class="tar"><span class="red">*</span>积分兑换余额：</td>
											<td>
													<input type="text" value="{$msg.integral_shift_balance}" name="integral_shift_balance"  lay-verify="integer"  placeholder="积分兑换余额" class="layui-input layui-wd0 fl"  />
													<div class="red mt10 ml5 fl"><span>积分/1元</span></div>
											</td>
				                    </tr>	 -->
				                    <tr>
										<td class="tar"><span class="red">*</span>平台名称：</td>
										<td  style="text-align: center">
											<input type="text" name="project_name" value="{$msg.project_name}" class="layui-input layui-wd0" >
										</td>

										<td class="tar"><span class="red">*</span>客服联系电话：</td>
										<td >
											<input type="text" value="{$msg.service_phone}" name="service_phone"  lay-verify="required"  placeholder="客服联系电话" class="layui-input layui-wd0 fl"  onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onpaste="this.value=this.value.replace(/[^\d]/g,'')"  />

										</td>
									</tr>
									<tr>
										<td class="tar"><span class="red">*</span>省级代理分红百分比：</td>
										<td  >
											<input type="text" value="{$msg.province_point}" name="province_point"  lay-verify="required"  placeholder="省级代理分红百分比" class="layui-input layui-wd0 fl"  onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onpaste="this.value=this.value.replace(/[^\d]/g,'')"  />
											<span  class=" fl" style="padding-top: 10px;">%</span>
										</td>

										<td class="tar"><span class="red">*</span>市级代理分红百分比：</td>
										<td >
											<input type="text" value="{$msg.city_point}" name="city_point"  lay-verify="required"  placeholder="市级代理分红百分比" class="layui-input layui-wd0 fl"  onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onpaste="this.value=this.value.replace(/[^\d]/g,'')"  />
											<span  class=" fl" style="padding-top: 10px;">%</span>
										</td>
									</tr>
									<tr>
										<td class="tar"><span class="red">*</span>县级代理分红百分比：</td>
										<td  >
											<input type="text" value="{$msg.area_point}" name="area_point"  lay-verify="required"  placeholder="省级代理分红百分比" class="layui-input layui-wd0 fl"  onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onpaste="this.value=this.value.replace(/[^\d]/g,'')"  />
											<span  class=" fl" style="padding-top: 10px;">%</span>
										</td>

										<td class="tar"><span class="red">*</span>商户/分销商分红百分比：</td>
										<td >
											<input type="text" value="{$msg.shop_point}" name="shop_point"  lay-verify="required"  placeholder="市级代理分红百分比" class="layui-input layui-wd0 fl"  onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onpaste="this.value=this.value.replace(/[^\d]/g,'')"  />
											<span  class=" fl" style="padding-top: 10px;">%</span>
										</td>
									</tr>
									<tr>
										<td class="tar"><span class="red">*</span>分配奖金总额：</td>
										<td  style="text-align: center">
											<input type="number" name="extension_money" value="{$msg.extension_money}" lay-verify="required"  placeholder="省级代理分红百分比" class="layui-input layui-wd0 fl"  >
										</td>
										<td colspan="2"></td>
									</tr>

									<tr>
										<td colspan="4" style="font-size:17px;background:#e4f2ff;"><b>后台设置</b></td>
									</tr>
									<tr>
										<td class="tar"><span class="red">*</span>验证码登录开关：</td>
										<td colspan="3">
											<input type="radio" name="verify_on" value="0" title="需要"  <if condition="$msg.verify_on eq 0">checked</if>>
											<input type="radio" name="verify_on" value="1" title="无需验证码"  <if condition="$msg.verify_on eq 1">checked</if>>
										</td>
									</tr>
				                    <tr>
										<td class="tar"><span class="red">*</span>后台背景图片：</td>
										<td colspan="3">
											 <if condition="$msg.admin_img neq null">
								                <img src="{$msg.admin_img}" class="consultimg" id="up_image_admin_img"  >
								            <else/>
								                <img src="__ADMIN__/images/add-img.png" class="consultimg" id="up_image_admin_img"  >
								            </if>
								            <button type="button" class="layui-btn myImgUpload ml20"  id="admin_img"><i class=" layui-icon">&#xe67c;</i>上传图片</button>
 								           <input type="hidden" name="admin_img"    id="up_input_admin_img"   lay-verify="required"   value="{$msg.admin_img}"/>
										</td>
									</tr>

								</tbody>
							</table>
						</div>
						<div class="clear"></div>
						<div class="layui-input-block mt10">
								<button class="layui-btn layui-btn-big layui-btn-danger mr100 fr"  lay-submit  lay-filter="reloadbtn" >保存本页设置</button>
						</div>
						</form>
				</div>
			<!-- 第一栏目结束 -->
			</div>
			</div>
		<!-- tab结束 -->
	</div>
<include file="public/footer" />
</body>
</html>